﻿<%@ Control Language="C#"  %>
<script runat="server">
    protected void Page_Load(object sender, EventArgs e)
    {
        Agents agents = new Agents();
        Repeater_List.DataSource = agents.List(Utils.GetQueryString("lang",1));
        Repeater_List.DataBind();
    }
</script>
<select id="Agents">
    <option value="0"><%=Lang.Show("SelectItem") %></option>
<asp:Repeater runat="server" ID="Repeater_List">
<ItemTemplate>
    <option value="<%#Eval("Agent_Id") %>"><%#Eval("Agent_Site") %> - <%#Eval("Agent_Name") %></option></ItemTemplate>
</asp:Repeater>
</select>
